import type { IList, IResult } from "@/types/common";
import { getAxios } from "@/utils/request.js";
/* 金币日志信息地址*/
const url = "/back/gold-coin-log";
/* 获取金币日志 信息 */
export const getGoldLogInfo = <T, D>(params?: D): Promise<IResult<IList<T>>> => {
  return getAxios<IList<T>, D>(url, params);
};
/* 导出金币日志 信息 */
export const getGoldLogExportInfo = <T, D>(params: D): Promise<IResult<T>> => {
  return getAxios<T, D>(url + "/export", params);
};
